/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-6-12 下午4:54 Created by dwzhang
 */
package com.xunton.bss.weixin.api.config;

import com.jade.framework.base.JadeSystem;

/**
 * 微信相关的配置参数。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-6-12 下午4:54
 */
public class SimpleConfig
        implements WeixinConfig
{
    public String getAppId()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.app_id");
    }

    public String getAppSecret()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.app_secret");
    }

    public String getToken()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.token");
    }

    public String getDesKey()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.des_key");
    }

    public String getCompAppId()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.comp_app_id");
    }

    public String getCompAppSecret()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.comp_app_secret");
    }

    public String getCompToken()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.comp_token");
    }

    public String getCompDesKey()
    {
        return JadeSystem.getProperty("com.jade.bss.weixin.comp_des_key");
    }
}
